package org.springblade.modules.admin.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.apache.ibatis.annotations.Param;
import org.springblade.modules.admin.dto.ByScoreQuestionAppealSearchDTO;
import org.springblade.modules.admin.entity.MaintainByScoreQuestionAppeal;
import org.springblade.modules.admin.vo.ByScoreQuestionAppealPageVO;
import org.springblade.modules.admin.vo.PlanAbarbeitungByContentVO;

import java.util.List;

public interface MaintainByScoreQuestionAppealMapper extends BaseMapper<MaintainByScoreQuestionAppeal> {

	List<ByScoreQuestionAppealPageVO> page(IPage<ByScoreQuestionAppealPageVO> page, @Param("searchDTO") ByScoreQuestionAppealSearchDTO searchDTO);

	List<PlanAbarbeitungByContentVO> selectistoryList(@Param("planId") Long planId, @Param("appealStatus") Integer appealStatus);
}
